public abstract class T {
    public void ret() {

    }

}

class Y extends T {
    @Override
    public void ret() {

    }
}
